package com.neymar.logEnum;


/**
 * @author neymar
 * @date 2021-06-04
 */

public enum OperationTypeEnum {
    ADD(1, "增加"), DELETE(2, "删除"),
    UPDATE(3, "修改"), QUERY(4, "查询");

    int value;
    String name;

    OperationTypeEnum(int value, String name) {
        this.value = value;
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public String getName() {
        return name;
    }
}
